package com.chenglai.seckill.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author rxh
 */
@ApiModel(value = "t_cl_seckill_info")
@Table(name = "t_cl_seckill_info")
public class SeckillInfo implements Serializable {


    @Id
    @Column(name = "seckill_id", updatable = false)
    @ApiModelProperty(value = "null")
    private Integer seckillId;

    /**
     * 秒杀活动名称
     */
    @Column(name = "seckill_name")
    @ApiModelProperty(value = "秒杀活动名称")
    private String seckillName;

    /**
     * 门店ID
     */
    @Column(name = "shop_id")
    @ApiModelProperty(value = "门店ID")
    private Integer shopId;

    /**
     * 活动详情
     */
    @Column(name = "message")
    @ApiModelProperty(value = "活动详情")
    private String message;

    /**
     * 开始时间
     */
    @Column(name = "start_time")
    @ApiModelProperty(value = "开始时间")
    private String startTime;

    /**
     * 结束时间
     */
    @Column(name = "end_time")
    @ApiModelProperty(value = "结束时间")
    private String endTime;

    /**
     * 0  失效 1 未失效
     */
    @Column(name = "status")
    @ApiModelProperty(value = "0  失效 1 未失效")
    private Integer status;

    public Integer getSeckillId() {
        return seckillId;
    }

    public void setSeckillId(Integer seckillId) {
        this.seckillId = seckillId;
    }


    public String getSeckillName() {
        return seckillName;
    }

    public void setSeckillName(String seckillName) {
        this.seckillName = seckillName;
    }


    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }


    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }


    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }


    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }


    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

}
